package com.wuliang.generate.common.core.annotation;

import com.wuliang.generate.common.core.validator.ParamValidator;

import javax.validation.Constraint;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.*;

/**
 * 校验传参非空
 *
 * @author 邬魉
 */
@Documented
@Retention(RUNTIME)
@Constraint(validatedBy = { ParamValidator.class })
@Target({ ElementType.METHOD })
public @interface CheckJoinParam {

    String[] value() default "";

}
